import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);


export default new Vuex.Store({
    state: {
		    localUser:null,
    },
    mutations: {
      setLocalUser(state,user){
        this.state.localUser = user;
      },
      resetVuex(state) {
        this.state.localUser = null;
      }
    }
})


